//
//  ZTXRedBottomCell.m
//  NtoccDriverNew
//
//  Created by 张天兴 on 2023/12/8.
//  Copyright © 2023 GCY. All rights reserved.
//

#import "ZTXRedBottomCell.h"

@implementation ZTXRedBottomCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    [self.textBGView addSubview:self.txtView];
    self.textBGView.backgroundColor = [UIColor whiteColor];
    self.textBGView.layer.masksToBounds = YES;
    self.textBGView.layer.cornerRadius = 5;
    self.huifuButton.layer.masksToBounds = YES;
    self.huifuButton.layer.cornerRadius = 20;
    [self.huifuButton setTitleColor:[UIColor whiteColor] forState:(UIControlStateNormal)];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
- (FlexTextView *)txtView{
    if (_txtView == nil) {
        self.txtView = [[FlexTextView alloc] initWithFrame:CGRectMake(0, 0, SCREEN_WIDTH - 30, 130)];
        self.txtView.placeholder = @"回复:";
        self.txtView.backgroundColor = [UIColor whiteColor];
    }
    return _txtView;
}
@end
